import request from '@/utils/request'

const jobLog = {

  /**
   * 分页
   * @param page
   * @param query
   */
  listJobLog(page,query) {
    return request({
      url: 'admin/sys-job-log/page/' + page.current + '/' + page.size,
      method: 'get',
      params: query

    })
  },
  delJobLog(ids) {
    return request({
      url: 'admin/sys-job-log/remove/' + ids,
      method: 'delete'

    })
  },
  exportJobLog() {
    return request({
      url: 'admin/sys-job-log/list/export',
      method: 'get'

    })
  },
  cleanJobLog() {
    return request({
      url: 'admin/sys-job-log/clean',
      method: 'delete'

    })
  },

}

export default jobLog
